package com.jstyle.devicenametest.db.dao;

import androidx.room.Dao;
import androidx.room.Insert;
import androidx.room.OnConflictStrategy;
import androidx.room.Query;

import com.jstyle.devicenametest.db.entiy.ExitAddress;
import com.jstyle.devicenametest.db.entiy.VibAddress;

import java.util.List;

@Dao
public interface VibDao {
    @Insert(onConflict = OnConflictStrategy.REPLACE)
    void insert(VibAddress vibAddress);

    @Query("select * from vibaddress")
    List<VibAddress> loadAllAddress();
}
